package org.example06;

import org.example06.ba06.SomeService;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MyTest06 {
    @Test
    public void test01(){
        String config = "applicationContext.xml";

        ApplicationContext ac =new ClassPathXmlApplicationContext(config);
        SomeService proxy = (SomeService) ac.getBean("someService");

        proxy.doThird();
    }


}
